package com.amumu.drama.common.modules.fulu.dto;

import fulu.sup.open.api.model.CommonRequest;

import java.math.BigDecimal;

/**
 * @Auther: DM
 * @Date: 2024/5/10 17:23
 * @Description:
 */
public class ZFBRefundQueryDto extends CommonRequest {
    public ZFBRefundQueryDto() {
        this.setMethod("fulu.alipay.h5.refund");
    }

    public String getOutTradeNo() {
        Object value = this.getBizContentValue("out_trade_no");
        return value != null ? String.valueOf(value) : null;
    }

    public void setOutTradeNo(String OutTradeNo) {
        this.setBizContent("out_trade_no", OutTradeNo);
    }


    public BigDecimal getRefundAmount() {
        Object value = this.getBizContentValue("refund_amount");
        return value != null ? BigDecimal.valueOf(Double.parseDouble(value.toString())) : null;
    }

    public void setRefundAmount(BigDecimal refundAmount) {
        this.setBizContent("refund_amount", refundAmount);
    }



}
